﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows.Media.Converters;

namespace WpfBehaviorDemo.Models
{
    /// <summary>
    /// 图形类型枚举
    /// </summary>
    public enum ShapeType
    {
        Ellipse = 0,//椭圆
        Rectangle = 1,//矩形
        Triangle = 2//三角形
    }

    public class ShapeModel
    {
        public string ShapeName { get; set; }

        public ShapeType ShapeType { get; set; }

        public Brush Fill { get; set; }

        public Size Size { get; set; } = new Size(100, 100);
    }
}
